package com.study.spring.security.bean;

import lombok.Data;

import java.security.Permission;
import java.util.Date;

@Data
public class PermissionExt extends Permission {
    private Long id;
    private Long parent_id;
    private String enname;
    private String url;
    private String description;
    private Date created;
    private Date updated;

    public PermissionExt(String name) {
        super(name);
    }

    @Override
    public boolean implies(Permission permission) {
        return false;
    }

    @Override
    public String getActions() {
        return null;
    }
}
